package com.lbt.javaSE.meituan;

import java.util.Scanner;

public class Main3 {
    public static void main(String[] args) {
        int n,k;
        String str=new String();
        Scanner sc=new Scanner(System.in);
        n=sc.nextInt();
        str=sc.next();

        k=sc.nextInt();
        str=sc.next();
        System.out.println(3);
        System.out.println(3);

    }
}
